// 封装所有和用户相关的接口函数
import requst from '@/utils/http'
export const loginAPI = ({account,password}) => {
  return requst({
    url:'/login',
    method:'POST',
    data: {
      account,
      password
    }
  })
}


// 猜你喜欢
export const getLikeListAPI = ({ limit = 4 }) => {
  return requst({
    url:'/goods/relevant',
    params: {
      limit 
    }
  })
}
